package com.fearless.crm.workbench.dao;

import com.fearless.crm.settings.entity.User;
import com.fearless.crm.workbench.entity.Clue;

import java.util.List;
import java.util.Map;

public interface ClueDao {

    int saveClueDao(Clue clue);

    int getTotalByCondition(Map map);

    List<Clue> getClueListByCondition(Map<String,Object> map);


    Clue getClueDetailDao(String id);

    Clue editClueDao(String id);

    int updateClueDao(Clue clue);

    int deleteClueByIdDao(String[] id);

    Clue getClueById(String clueId);

    int deleteClueByClueIdDao(String clueId);

    int editClueInDetailDao(Clue clue);

    int deleteClueInDetailDao(String id);
}
